package com.food.user.service;

import com.food.user.entity.UserAccount;
import com.baomidou.mybatisplus.extension.service.IService;
import com.food.user.form.*;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 帅得一
 * @since 2023年06月17日
 */
public interface UserAccountService extends IService<UserAccount> {

    void register(UserAccountRegisterForm form) throws Exception;

    UserAccount login(UserLoginForm form)throws Exception;

    void sendCode(CodePhoneForm form)throws Exception;

    UserAccount loginByPhone(CodePhoneLoginForm form)throws Exception;


    void updatePassword(UpdatePasswordForm form)throws Exception;

    void updateUserNickName(UpdateUserNickNameForm form);

    UserAccount showMyAccount();

    void out();
}
